CC = g++
CFLAGS = -g -o $(EXEC) -I. -O2
DEPS = ../vector/vector.h ../print/print.cpp QuadList.h SkipList.h
EXEC = SkipList_test
SRC = SkipList_test.cpp
.DELETE_ON_ERROR:	
all:$(EXEC)

$(EXEC): $(SRC)
	$(CC) $(DEPS) $(SRC) $(CFLAGS)

test: $(EXEC)
	./$(EXEC) $$(shuf -i 20-30 -n 1)

.PHONY: clean
clean:
	rm -f *.cpp.* *.o $(EXEC)

